﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System
{
    public class AppException : ApplicationException
    {
        public AppException()
        {
        }

        public AppException(string format, params object[] args)
            : base(string.Format(format, args))
        {
        }

        public override string ToString()
        {
            string format = "{0}.Message:{1}\r\nStack:{2}";
            return string.Format(format, this.GetType().Name, this.Message, this.StackTrace);
        }

    }

}
